package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_trade_war_building_upgrade", desc = "商战建筑升级日志", autoSave = true, uploadCk = true)
public class LogTradeWarBuildingUpgrade extends ServerBaseLog {
	@FieldTypeAnnotation(desc = "用户id", isIndex = true)
	private long userId;
	@FieldTypeAnnotation(desc = "类型")
	private int type;
	@FieldTypeAnnotation(desc = "建筑等级")
	private int buildingLv;
	@FieldTypeAnnotation(desc = "消耗")
	private String consume;

	public LogTradeWarBuildingUpgrade(long userId, int type, int buildingLv, String consume) {
		this.userId = userId;
		this.type = type;
		this.buildingLv = buildingLv;
		this.consume = consume;
	}

	public long getUserId() {
		return userId;
	}

}
